# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/sunshout/project/VRSim-0.1/src/VRSim/Ui/DynamipsConfig.ui'
#
# Created: Mon Aug 10 11:18:37 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_DynamipsConfig(object):
    def setupUi(self, DynamipsConfig):
        DynamipsConfig.setObjectName("DynamipsConfig")
        DynamipsConfig.resize(640, 480)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DynamipsConfig.sizePolicy().hasHeightForWidth())
        DynamipsConfig.setSizePolicy(sizePolicy)
        self.gridLayout_2 = QtGui.QGridLayout(DynamipsConfig)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.treeWidget = QtGui.QTreeWidget(DynamipsConfig)
        self.treeWidget.setIconSize(QtCore.QSize(50, 50))
        self.treeWidget.setUniformRowHeights(True)
        self.treeWidget.setObjectName("treeWidget")
        self.treeWidget.headerItem().setText(0, "1")
        self.horizontalLayout.addWidget(self.treeWidget)
        self.groupBox = QtGui.QGroupBox(DynamipsConfig)
        self.groupBox.setMinimumSize(QtCore.QSize(400, 0))
        self.groupBox.setSizeIncrement(QtCore.QSize(0, 0))
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox_Hypervisor = QtGui.QGroupBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_Hypervisor.sizePolicy().hasHeightForWidth())
        self.groupBox_Hypervisor.setSizePolicy(sizePolicy)
        self.groupBox_Hypervisor.setMaximumSize(QtCore.QSize(16777215, 80))
        self.groupBox_Hypervisor.setObjectName("groupBox_Hypervisor")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_Hypervisor)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_Type = QtGui.QLabel(self.groupBox_Hypervisor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_Type.sizePolicy().hasHeightForWidth())
        self.label_Type.setSizePolicy(sizePolicy)
        self.label_Type.setMinimumSize(QtCore.QSize(0, 20))
        self.label_Type.setObjectName("label_Type")
        self.gridLayout_3.addWidget(self.label_Type, 0, 0, 1, 1)
        self.comboBox_Type = QtGui.QComboBox(self.groupBox_Hypervisor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_Type.sizePolicy().hasHeightForWidth())
        self.comboBox_Type.setSizePolicy(sizePolicy)
        self.comboBox_Type.setMinimumSize(QtCore.QSize(0, 20))
        self.comboBox_Type.setMaxVisibleItems(5)
        self.comboBox_Type.setObjectName("comboBox_Type")
        self.gridLayout_3.addWidget(self.comboBox_Type, 0, 1, 1, 1)
        self.label_Hostname = QtGui.QLabel(self.groupBox_Hypervisor)
        self.label_Hostname.setMinimumSize(QtCore.QSize(0, 20))
        self.label_Hostname.setObjectName("label_Hostname")
        self.gridLayout_3.addWidget(self.label_Hostname, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_Hypervisor)
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 1, 0, 1, 1)
        self.label_Console = QtGui.QLabel(self.groupBox_Hypervisor)
        self.label_Console.setObjectName("label_Console")
        self.gridLayout_3.addWidget(self.label_Console, 1, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.groupBox_Hypervisor)
        self.label_11.setObjectName("label_11")
        self.gridLayout_3.addWidget(self.label_11, 1, 2, 1, 1)
        self.lineEdit_idlepc = QtGui.QLineEdit(self.groupBox_Hypervisor)
        self.lineEdit_idlepc.setObjectName("lineEdit_idlepc")
        self.gridLayout_3.addWidget(self.lineEdit_idlepc, 1, 3, 1, 1)
        self.comboBox_Hypervisor = QtGui.QComboBox(self.groupBox_Hypervisor)
        self.comboBox_Hypervisor.setObjectName("comboBox_Hypervisor")
        self.gridLayout_3.addWidget(self.comboBox_Hypervisor, 0, 3, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_Hypervisor)
        self.groupBox_Hardware = QtGui.QGroupBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_Hardware.sizePolicy().hasHeightForWidth())
        self.groupBox_Hardware.setSizePolicy(sizePolicy)
        self.groupBox_Hardware.setMinimumSize(QtCore.QSize(0, 300))
        self.groupBox_Hardware.setObjectName("groupBox_Hardware")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_Hardware)
        self.verticalLayout.setContentsMargins(-1, -1, 9, -1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_CPU = QtGui.QLabel(self.groupBox_Hardware)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_CPU.sizePolicy().hasHeightForWidth())
        self.label_CPU.setSizePolicy(sizePolicy)
        self.label_CPU.setMinimumSize(QtCore.QSize(0, 20))
        self.label_CPU.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_CPU.setObjectName("label_CPU")
        self.horizontalLayout_5.addWidget(self.label_CPU)
        self.comboBox_Npetype = QtGui.QComboBox(self.groupBox_Hardware)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_Npetype.sizePolicy().hasHeightForWidth())
        self.comboBox_Npetype.setSizePolicy(sizePolicy)
        self.comboBox_Npetype.setMinimumSize(QtCore.QSize(0, 20))
        self.comboBox_Npetype.setObjectName("comboBox_Npetype")
        self.horizontalLayout_5.addWidget(self.comboBox_Npetype)
        self.label = QtGui.QLabel(self.groupBox_Hardware)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.comboBox_Midplane = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_Midplane.setObjectName("comboBox_Midplane")
        self.horizontalLayout_5.addWidget(self.comboBox_Midplane)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.pushButton_cfg = QtGui.QPushButton(self.groupBox_Hardware)
        self.pushButton_cfg.setObjectName("pushButton_cfg")
        self.horizontalLayout_6.addWidget(self.pushButton_cfg)
        self.label_cfg = QtGui.QLabel(self.groupBox_Hardware)
        self.label_cfg.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_cfg.setObjectName("label_cfg")
        self.horizontalLayout_6.addWidget(self.label_cfg)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.pushButton_chImg = QtGui.QPushButton(self.groupBox_Hardware)
        self.pushButton_chImg.setObjectName("pushButton_chImg")
        self.horizontalLayout_7.addWidget(self.pushButton_chImg)
        self.label_selectedImage = QtGui.QLabel(self.groupBox_Hardware)
        self.label_selectedImage.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_selectedImage.setObjectName("label_selectedImage")
        self.horizontalLayout_7.addWidget(self.label_selectedImage)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 1, 0, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1)
        self.label_slot0IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot0IF.setObjectName("label_slot0IF")
        self.gridLayout.addWidget(self.label_slot0IF, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.label_slot1IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot1IF.setObjectName("label_slot1IF")
        self.gridLayout.addWidget(self.label_slot1IF, 1, 1, 1, 1)
        self.label_slot2IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot2IF.setObjectName("label_slot2IF")
        self.gridLayout.addWidget(self.label_slot2IF, 2, 1, 1, 1)
        self.label_slot3IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot3IF.setObjectName("label_slot3IF")
        self.gridLayout.addWidget(self.label_slot3IF, 3, 1, 1, 1)
        self.label_slot4IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot4IF.setObjectName("label_slot4IF")
        self.gridLayout.addWidget(self.label_slot4IF, 4, 1, 1, 1)
        self.label_slot5IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot5IF.setObjectName("label_slot5IF")
        self.gridLayout.addWidget(self.label_slot5IF, 5, 1, 1, 1)
        self.label_slot6IF = QtGui.QLabel(self.groupBox_Hardware)
        self.label_slot6IF.setObjectName("label_slot6IF")
        self.gridLayout.addWidget(self.label_slot6IF, 6, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.verticalLayout_2.addWidget(self.groupBox_Hardware)
        self.horizontalLayout.addWidget(self.groupBox)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(DynamipsConfig)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(DynamipsConfig)
        self.comboBox_Type.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(DynamipsConfig)

    def retranslateUi(self, DynamipsConfig):
        DynamipsConfig.setWindowTitle(QtGui.QApplication.translate("DynamipsConfig", "Node Configuration (Cisco)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("DynamipsConfig", "Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_Hypervisor.setTitle(QtGui.QApplication.translate("DynamipsConfig", "Hypervisor", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Type.setText(QtGui.QApplication.translate("DynamipsConfig", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Hostname.setText(QtGui.QApplication.translate("DynamipsConfig", "Hypervisor Name", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("DynamipsConfig", "Console", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Console.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("DynamipsConfig", "IDLE-PC", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_Hardware.setTitle(QtGui.QApplication.translate("DynamipsConfig", "Hardware", None, QtGui.QApplication.UnicodeUTF8))
        self.label_CPU.setText(QtGui.QApplication.translate("DynamipsConfig", "NPE TYPE", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("DynamipsConfig", "Midplane", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_cfg.setText(QtGui.QApplication.translate("DynamipsConfig", "Config File", None, QtGui.QApplication.UnicodeUTF8))
        self.label_cfg.setText(QtGui.QApplication.translate("DynamipsConfig", "Choose Config File", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_chImg.setText(QtGui.QApplication.translate("DynamipsConfig", "HDD(IOS)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_selectedImage.setText(QtGui.QApplication.translate("DynamipsConfig", "Choose HDD Image", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 3", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot0IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 4", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 5", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("DynamipsConfig", "Slot 6", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot1IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot2IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot3IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot4IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot5IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_slot6IF.setText(QtGui.QApplication.translate("DynamipsConfig", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))

import Resource_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    DynamipsConfig = QtGui.QDialog()
    ui = Ui_DynamipsConfig()
    ui.setupUi(DynamipsConfig)
    DynamipsConfig.show()
    sys.exit(app.exec_())

